package com.rpp.boot;

import com.rpp.client.RPCConsumer_2;
import com.rpp.service.IUserService;

public class ConsumerBoot_2 {


    public static void main(String[] args) throws InterruptedException {

        IUserService service = (IUserService) RPCConsumer_2.createProxy(IUserService.class);

        //给服务器写数据
        service.sayHello("hello rpp !!");
        Thread.sleep(2000);

    }
}
